
#
# jpa
spring.jpa.generate-ddl=true
#
# multipart max file size
spring.servlet.multipart.max-file-size=50MB
spring.servlet.multipart.max-request-size=50MB
#
# datasource
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.hikari.minimum-idle=4
spring.datasource.hikari.maximum-pool-size=256
spring.datasource.username=root
spring.datasource.password=hy_202409
#
# cache
spring.cache.type=redis
#
# redis
spring.data.redis.host=redis
spring.data.redis.port=6379
spring.data.redis.database=0
spring.data.redis.password=hy_202409
spring.data.redis.timeout=10s
spring.data.redis.lettuce.pool.max-active=200
spring.data.redis.lettuce.pool.max-wait=-1ms
spring.data.redis.lettuce.pool.max-idle=10
spring.data.redis.lettuce.pool.min-idle=0
#
## kafka
spring.kafka.bootstrap-servers=kafka:9092
#
# shared token
hy-mining.shared.token.name=token
hy-mining.shared.token.expireTime=1800
#
#springdoc.api-docs.path=/v3/api-docs
springdoc.api-docs.enabled=true
springdoc.packages-to-scan=com.hy.${packageCode}
#
# server
server.servlet.session.timeout=1800
#
# virtual threads
spring.threads.virtual.enabled=true
#
# sa-token
hy-mining.sa.enable=false
sa-token.token-name=${r"${hy-mining.shared.token.name}"}
sa-token.timeout=${r"${hy-mining.shared.token.expireTime}"}
sa-token.active-timeout=-1
sa-token.is-concurrent=true
sa-token.is-share=false
sa-token.token-style=uuid
sa-token.is-log=false
